﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ShowProduct.aspx.cs" Inherits="INHollandair.Shop.ShowProduct" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="container pull-down">
        <div class="row">
            <div class="span8 offset2">
                 <h2><a href="Products.aspx"><< Terug</a></h2>
                <fieldset class="well roundedBorder form-horizontal">
                    <asp:MultiView ID="MultiViewShowProduct" runat="server">
                        <asp:View ID="validData" runat="server">
                            <table>
                                <tr>
                                    <td>      
                                        <table class="table table-striped table-condensed table-bordered">
                                            <tr>
                                                <td>
                                                    <b>Bestemming</b>
                                                </td>
                                                <td>
                                                    <asp:Label ID="ProductName" runat="server" Text="[name]"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <b>Datum</b>
                                                </td>
                                                <td>
                                                    <asp:Label ID="ProductDate" runat="server" Text="[date]"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <b>Prijs</b>
                                                </td>
                                                <td>
                                                    <asp:Label ID="ProductPrice" runat="server" Text="[price]"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td colspan="2">
                                                    <b>Beschrijving:</b>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td colspan="2">
                                                    <asp:Label ID="ProductDescription" runat="server" Text="[description]"></asp:Label>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                    <td style="width:20%">
                                        <asp:Image ID="ProductImage" runat="server" Height="170px" Width="170px" />
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2">
                                        <asp:Button ID="orderproduct" runat="server" Text="Bestel product" Cssclass="btn btn-inverse" onclick="orderproduct_Click" />
                                    </td>
                                </tr>
                            </table>

                        </asp:View>
                        <asp:View ID="invalidData" runat="server">
                            De door u ingevoerde data is niet geldig!
                        </asp:View>
                    </asp:MultiView>
                </fieldset>
            </div>
        </div>
    </div>
</asp:Content>
